package com.alks.function.service.procurement;

import com.alks.entity.data.response.ResponseInfo;
import com.alks.function.data.dto.procurement.CommonMaterialDetailDto;
import com.alks.function.data.dto.procurement.NotOrderDetailsDto;
import com.alks.function.data.dto.procurement.PurchaseOrderDto;
import com.alks.function.data.request.procurement.*;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface SporadicClearanceService {

    ResponseInfo getCommonMaterialDetail(CommonMaterialDetailRequest request);

    ResponseInfo getNotOrderDetailsList();

    ResponseInfo updateNotOrderDetails(List<NotOrderDetailsDto> request);

    ResponseInfo getBatchProcess(List<CommonMaterialDetailDto> request);

    ResponseInfo deleteNotOrderDetails(NotOrderDetailsRequest request);

    ResponseInfo makeOrderDetails(List<NotOrderDetailsRequest> request);

    ResponseInfo getMyPurchaseOrder(PurchaseOrderRequest request);

    ResponseInfo getAllPurchaseOrder(PurchaseOrderRequest request);

    ResponseInfo getPurchaseOrderLotDetail(PurchaseOrderDto request);

    ResponseInfo updatePurchaseOrder(List<PurchaseOrderDto> list);

    ResponseInfo makePurchaseOrder(LotNoRequest4 r);

    void exportAllPurchaseOrder(String purNo, HttpServletResponse response);

    void exportMyPurchaseOrder(String purNo, HttpServletResponse response);

    ResponseInfo deletePurchaseOrder(List<LotNoRequest6> list);
}
